package cn.tedu.oa.approval.mapper;

import cn.tedu.oa.approval.pojo.dto.ApprovalQuery;
import cn.tedu.oa.approval.pojo.entity.Approval;
import cn.tedu.oa.approval.pojo.vo.ApprovalVO;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Repository
public interface ApprovalMapper {
    List<ApprovalVO> select(ApprovalQuery approvalQuery);

    void insert(Approval approval);

    void update(Approval approval);

    void delete(Integer id);
}
